#ifndef WYZKR688RFSWREMOTEHMIDLL_H
#define WYZKR688RFSWREMOTEHMIDLL_H


#include <QFile>
#include <QTextStream>
#include <QObject>
#include <QWidget>

#define tecPluginRemoteHmiInterface_IDD "tecPluginRemoteHmiInterface_idd"

class tecPluginRemoteHmiInterface : public QWidget{
Q_OBJECT
public:
     ~tecPluginRemoteHmiInterface() {}
     tecPluginRemoteHmiInterface()  {}

     virtual QWidget* RegisiterPluginUi() = 0;

     virtual void FastTimerLoop() = 0;
     virtual void SlowTimerLoop() = 0;

     virtual void BackendDataRecv(QByteArray Data) = 0;
     virtual void BackendDataSend(QByteArray& Data) = 0;
};

Q_DECLARE_INTERFACE(tecPluginRemoteHmiInterface, tecPluginRemoteHmiInterface_IDD)

class  WyZkR688RFSWRemoteHmiDLL: public tecPluginRemoteHmiInterface{
Q_OBJECT
Q_PLUGIN_METADATA(IID "tecPluginRemoteHmiInterface_idd")
Q_INTERFACES(tecPluginRemoteHmiInterface)

public:
    WyZkR688RFSWRemoteHmiDLL();
    ~WyZkR688RFSWRemoteHmiDLL();

    QWidget* RegisiterPluginUi();

    void FastTimerLoop();
    void SlowTimerLoop();

    void BackendDataRecv(QByteArray Data);
    void BackendDataSend(QByteArray& Data);
};

#endif // WYZKR688RFSWREMOTEHMIDLL_H
